<template>
  <view class="x-form" :style="{'background': background}">
    <slot />
  </view>
</template>

<script>
export default {
  name: 'XForm',
  components: {},
  props: {
    background: {
      type: String,
      default: '#fff'
    }
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {

  },
  methods: {}
};
</script>

<style lang="scss">
  .x-form{
    padding-left: 20px;
  }
</style>
